widget: create parent muxers lazily
authorMatthias Clasen <mclasen@redhat.com>
Sun, 23 Jun 2019 17:22:02 +0000 (17:22 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 23 Jun 2019 17:59:41 +0000 (17:59 +0000)
commit3ebe30bf3261eae5ec22c30533c63fb7a87d7a41
treedd763832d55ffeb2d8a34e1826ecd73c52ff81e0
parent996f011ed8856f4d64b826354ccb4454f4f0bfaf
widget: create parent muxers lazily

We need to create a muxer eagerly for every
widget that has class actions, since those
are otherwise missed in the action lookup
on the muxer side. But otherwise, there is
no reason to create parent muxers aggressively,
as long as we update the parent muxers on
root/unroot.

This reduces the number of muxers we create
in widget-factory from 210 to around 50.
gtk/gtkwidget.c